<?php
include("mobile/Mobile_Detect.php");
$detect = new Mobile_Detect();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="hu-HU" xml:lang="hu-HU" xmlns="http://www.w3.org/1999/xhtml">

<?php
echo "<body>";

echo "<h1>Most ". date("Y.m.d. H:m:s") . " van!</h1>";
echo "<a href='http://ujej.hu'>ujej.hu</a><br/>";
echo "Szerintem ";
if ($detect->isMobile()) {
    echo $detect->getMobileType() . " ";
}
else
{
	echo "nem ";
}
echo "mobilrol jottel.<br/><br/>";
echo "<u>Ezt kuldted:</u><br/>";
$retVal="";
	foreach($_SERVER as $i=>$val)
	{
		$retVal = $retVal . $i . "-" . $val . "<br/>";
	} 
	echo $retVal;

echo "</body>";
echo "</html>";


	


?>